
export const iconMap = {
    icon_ly: require('../../assets/img/icon_ly.png').default,
    icon_gh: require('../../assets/img/icon_gh.png').default,
    icon_pd: require('../../assets/img/icon_pd.png').default,
    icon_sl: require('../../assets/img/icon_sl.png').default,
    icon_wx: require('../../assets/img/icon_wx.png').default,
    icon_dj: require('../../assets/img/icon_dj.png').default,
    icon_xj: require('../../assets/img/icon_xj.png').default,
    icon_by: require('../../assets/img/icon_by.png').default,
    icon_sh: require('../../assets/img/icon_sh.png').default,
}

export const MENULIST = [
    {
        id: 0,
        label: '设备维保',
        children: [
            {
                id: 0,
                label: "设备维修",
                icon: 'icon_wx',
                path: 'equipment',
            },
            {
                id: 1,
                label: "设备点检",
                icon: 'icon_dj',
                path: 'spotCheck'
            },
            {
                id: 2,
                label: "设备巡检",
                icon: 'icon_xj',
                path: 'inspection',
            },
            {
                id: 3,
                label: "设备保养",
                icon: 'icon_by',
                path: 'maintenance',
            }, {
                id: 4,
                label: "任务大厅",
                icon: 'icon_pd',
                path: 'hall',
            },
            {
                id: 5,
                label: "受理任务",
                icon: 'icon_sl',
                path: 'handTasks',
            },
            // {
            //     id: 0,
            //     label: "设备审批",
            //     icon: 'icon_sh',
            //     path: 'approve',
            // },
            {
                id: 0,
                label: "审批列表",
                icon: 'icon_sh',
                path: 'approveList',
            },
        ]
    },
    {
        id: 1,
        label: '备品备件',
        children: [
            {
                id: 0,
                label: '快捷领用',
                icon: 'icon_ly',
                path: 'quickCollection',
            },
            {
                id: 1,
                label: '备件归还',
                icon: 'icon_gh',
                path: 'return',
            },
            {
                id: 2,
                label: "备件入库",
                icon: 'icon_sl',
                path: 'warehousing',
            },
            {
                id: 3,
                label: "快速入库",
                icon: 'icon_gh',
                path: 'quickWarehousing',
            },
            {
                id: 4,
                label: "备件盘点",
                icon: 'icon_pd',
                path: 'inventory',
            },
            {
                id: 5,
                label: "位置查询",
                icon: 'icon_by',
                path: 'QuickSearch',
            },
        ]
    },
]